![]() |
![]() |
![]() |
|
DX11 CREATE CUBEMAP ARRAY FROM ARRAY
Creates an array of cubemaps. It can be treated as a texture array where every group of 6 images make up a separate cubemap, but can also be accessed as a East, West, Up, Down, North, South. If the array contains merely 6 images, a single cubemap will be created and returned instead of an array. Note that cubemap arrays are only supported by DXVERSION_10_1 and higher (ie. not by DXVERSION_10_0)! * Take note that in order to use an image from a cubemap array for rendering, you will have to write your own shader that makes use of a TextureCubeArray resource. You cannot set a sub-image of a cubemap array as a "normal" Texture2D texture for an object or sprite.
Return Dword = DX11 CREATE CUBEMAP ARRAY FROM ARRAY(images(), [startIndex], [numElements], [accessMode])
images() Array [Optional] startIndex Dword [Optional] numElements Dword [Optional] accessMode Dword
The created cubemap array image.
IMAGE Functions Menu |
![]() |